import request from '@/router/axios';

export const getList = (current, size, params) => {
  return request({
    url: '/api/mes-product/mro-repair-out/repair-record-page',
    method: 'get',
    params: {
      current,
      size,
      ...params
    }
  });
};

export const getDetail = (repairConfirmId) => {
  return request({
    url: '/api/mes-product/mro-repair-out/repair-record-detail',
    method: 'get',
    params: {
      repairConfirmId
    }
  });
};
